﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="template_script_list" data-title="脚本列表" data-lang="<%=ContentLang%>" data-template-path="<%=Request.QueryString["TemplatePath"]%>">
	<dl class="path1">
		<dt><span>您的位置：</span><a href="../list.aspx" target="ali-navtab">模板列表</a> → <%=Request.QueryString["TemplatePath"]%></dt>
	</dl>
	<div class="ali-tabs sub-nav" data-height-style="fill" data-event="click">
		<div class="ali-tabs-header">
			<div class="ali-tabs-nav-container">
				<ul>
					<li><a href="../edit.aspx?Path=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">编辑</a></li>
					<li><a href="../dictionary.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">词典</a></li>
					<li><a href="../module.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">模块邦定</a></li>
					<li><a href="../pages/list.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">页面列表</a></li>
					<li><a href="../pages/add.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">添加页面</a></li>
					<li class="ali-active"><a>脚本列表</a></li>
					<li><a href="add.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">添加脚本</a></li>
					<li><a href="../menu/list.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">模块菜单</a></li>
					<li><a href="../menu/add.aspx?TemplatePath=<%=Request.QueryString["TemplatePath"]%>" target="ali-navtab">添加菜单</a></li>
				</ul>
			</div>
		</div>
		<div class="ali-tabs-body">
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel">
				<table data-ali-widget="grid" class="grid1">
					<thead>
						<tr>
							<th>文件名</th>
							<th width="80">删除</th>
						</tr>
					</thead>
					<tbody>
						<ali:List Object="Template.Script" Condition="TemplatePath=Request.QueryString['TemplatePath']" Validate="True">
							<ali:Record>
								<tr data-id="<%=Name%>">
									<th><a href="edit.aspx?Lang=<%=ContentLang%>&TemplatePath=<%=Request.QueryString["TemplatePath"]%>&Name=<%=Name%>" target="ali-navtab"><%=Name%></a></th>
									<td><a href="" class="ali-button" data-operation="Delete">删除</a></td>
								</tr>
							</ali:Record>
						</ali:List>
					</tbody>
				</table>
			</div>
		</div>
		<div class="ali-tabs-bottom"><b></b></div>
	</div>
</section>